<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>解析过程</title>
		<script src="js/jquery.min.js"></script>
	</head>
	<body>
		<div id="rtnData">返回数据</div>
		<div id="itemPrice">商品价格</div>
		<div id="itemId">商品编号</div>
	</body>
	
	<script>
		var jsonstr = '[{"p":"3999.00","op":"3999.00","cbf":"0","id":"J_100007851351","m":"4000.00"}]'
		
		var data = JSON.parse(jsonstr);
		
		$("#rtnData").text("返回数据: "+JSON.stringify(data));
		
		$("#itemPrice").html("商品价格: <font color='red'>" + data[0].p + "</font>");
		
		$("#itemId").text("商品编号: " +data[0].id.substring(2));
		
	</script>
</html>
